package com.molichuxing.gateway.bff.dealer.entity.request.create;


import com.molichuxing.framework.dto.RequestRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * <p>
 * 添加围栏
 * </p>
 *
 * @author zph
 * @since 2020-02-24
 */
@Data
public class FenceCreateVo extends RequestRootDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店或中转库id")
    @NotNull(message = "请选择门店")
    private Integer storeId;


    @ApiModelProperty(value = "类型，不需要传参")
    private Integer type;

    @ApiModelProperty(value = "围栏id集合")
    @NotNull(message = "请选择围栏")
    private List<Integer> fenceIdList;


}
